Skip to content

Conversation

@HeartSaVioR
Copy link
Contributor

This PR ports back #39245 to branch-3.3.

What changes were proposed in this pull request?

This PR proposes to apply tree-pattern based pruning for the rule SessionWindowing, to minimize the evaluation of rule with SessionWindow node.

Why are the changes needed?

The rule SessionWindowing is unnecessarily evaluated multiple times without proper pruning.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests.

@github-actions github-actions bot added the SQL label Dec 28, 2022
@HeartSaVioR
Copy link
Contributor Author

The change is identical to #39245 except import (one line diff.). I'll go merging this once CI passes.

@HeartSaVioR HeartSaVioR changed the title [SPARK-41732][SQL][SS] Apply tree-pattern based pruning for the rule SessionWindowing [SPARK-41732][SQL][SS][3.3] Apply tree-pattern based pruning for the rule SessionWindowing Dec 28, 2022
@HeartSaVioR
Copy link
Contributor Author

CI for branch-3.3 is broken from #39189

…SessionWindowing

This PR proposes to apply tree-pattern based pruning for the rule SessionWindowing, to minimize the evaluation of rule with SessionWindow node.

The rule SessionWindowing is unnecessarily evaluated multiple times without proper pruning.

No.

Existing tests.

Closes apache#39245 from HeartSaVioR/SPARK-41732.

Authored-by: Jungtaek Lim <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
@HeartSaVioR
Copy link
Contributor Author

@HeartSaVioR
Copy link
Contributor Author

Merging to 3.3/3.2.

HeartSaVioR added a commit that referenced this pull request Dec 28, 2022
…rule SessionWindowing

This PR ports back #39245 to branch-3.3.

### What changes were proposed in this pull request?

This PR proposes to apply tree-pattern based pruning for the rule SessionWindowing, to minimize the evaluation of rule with SessionWindow node.

### Why are the changes needed?

The rule SessionWindowing is unnecessarily evaluated multiple times without proper pruning.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing tests.

Closes #39253 from HeartSaVioR/SPARK-41732-3.3.

Authored-by: Jungtaek Lim <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
HeartSaVioR added a commit that referenced this pull request Dec 28, 2022
…rule SessionWindowing

This PR ports back #39245 to branch-3.3.

This PR proposes to apply tree-pattern based pruning for the rule SessionWindowing, to minimize the evaluation of rule with SessionWindow node.

The rule SessionWindowing is unnecessarily evaluated multiple times without proper pruning.

No.

Existing tests.

Closes #39253 from HeartSaVioR/SPARK-41732-3.3.

Authored-by: Jungtaek Lim <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
(cherry picked from commit 02a7fda)
Signed-off-by: Jungtaek Lim <[email protected]>
sunchao pushed a commit to sunchao/spark that referenced this pull request Jun 2, 2023
…rule SessionWindowing

This PR ports back apache#39245 to branch-3.3.

This PR proposes to apply tree-pattern based pruning for the rule SessionWindowing, to minimize the evaluation of rule with SessionWindow node.

The rule SessionWindowing is unnecessarily evaluated multiple times without proper pruning.

No.

Existing tests.

Closes apache#39253 from HeartSaVioR/SPARK-41732-3.3.

Authored-by: Jungtaek Lim <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
(cherry picked from commit 02a7fda)
Signed-off-by: Jungtaek Lim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant